package com.wk.kxexamadminister.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "学生表")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student implements Serializable {

    @TableId
    private Integer sNum;
    private String sName;
    private String gender;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private String phone;
    private String pwd;
    private Integer cId;
    private Integer iId;
    private Integer tId;
    @TableLogic
    private Integer isdeleted;






}
